import Layout from '@/layout/default.vue'
import { CustomerServiceOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: '/operationManagement',
        name: 'OperationManagement',
        redirect: '/operationManagement/planingRules',
        component: Layout,
        meta: {
            navTitle: '运营管理',
            order: 6,
            isSidebar: true,
            icon: () => h(CustomerServiceOutlined)
        },
        children: [
            {
                path: '/operationManagement/planingRules',
                meta: {
                    title: '计划规则',
                    order: 601
                },
                component: () => import('@/view/operationManagement/planningRules/planningRules.vue')
            },
            {
                path: '/operationManagement/planingRules/add',
                meta: {
                    title: '新增计划规则',
                },
                component: () => import('@/view/operationManagement/planningRules/addPlanningRules.vue')
            },
            {
                path: '/operationManagement/weightLabel',
                meta: {
                    title: '重量标签',
                    order: 602
                },
                component: () => import('@/view/operationManagement/weightLabel/weightLabel.vue')
            },
            {
                path: '/operationManagement/weightLabel/add',
                meta: {
                    title: '新增重量标签',
                },
                component: () => import('@/view/operationManagement/weightLabel/addWeightLabel.vue')
            },
            {
                path: '/operationManagement/tagGroup',
                meta: {
                    title: '物品标签组',
                    order: 603
                },
                component: () => import('@/view/operationManagement/tagGroup/tagGroup.vue')
            },
            {
                path: '/operationManagement/tagGroup/add',
                meta: {
                    title: '新增物品标签组',
                },
                component: () => import('@/view/operationManagement/tagGroup/addTagGroup.vue')
            },
        ]

    }
]